home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / amiutils / m_p / povray040 / compiling next >
Text File  |  1995-12-30  |  1KB  |  27 lines

  1. The unix config and makefile were used to generate an executable. The only
  2. changes to the sourcecode of PoV-Ray version 2.2 were:
  3.  
  4. - frame.h:  included "math-68881.h" instead of "math.h" for slight speed
  5.             improvement and reduction of executable size
  6.             changed welcoming message to reflect the nature of this version
  7.             of PoV-Ray
  8.             uncommented a #define to set default output to dump format
  9.  
  10. - unix.c:   included "math-68881.h" instead of "math.h" for sake of
  11.             completeness
  12.  
  13. - makefile: changed compiler and compiler options. Just take a look at it!
  14.             Setting optimization level to 3 actually slowed the executable
  15.             down, maybe the unrolled loops blew the cache. If you are willing
  16.             to compile every part of the source with all combinations of
  17.             optimizations, please mail me your results :-)
  18.  
  19. - povray:   removed the symbol hunks from the executable to save space
  20.  
  21. I tweaked other bits of the source to replace divides by multiplications (e.g.
  22. the VNormalize and VInverseScale macros in vector.h). Theoretically one fdiv
  23. and three fmul instructions should execute double as fast as three fdivs.
  24. Practically that version was quite a bit slower... Maybe the timing table I
  25. found in an old "Kickstart" magazine is wrong. At least I don't need to include
  26. sourcecode now...
  27.